/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */

package com.iecg.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 用户表
 *
 * @author pigx code generator
 * @date 2019-09-03 15:26:04
 */
@Data
@TableName("iecg_equip")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "设备表")
public class IecgEquip extends Model<IecgEquip> {
private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId
    @ApiModelProperty(value="编号")
    private Long id;
    /**
     * 设备号
     */
    @ApiModelProperty(value="设备号")
    private String pdid;
	/**
	 * 用户ID
	 */
	@ApiModelProperty(value="用户ID")
	private Long userId;
    /**
     * 激活时间
     */
    @ApiModelProperty(value="激活时间")
    private LocalDateTime activeTime;
    /**
     * 上次更新时间
     */
    @ApiModelProperty(value="上次更新时间")
    private LocalDateTime lastGenTime;
    /**
     * 状态
     */
    @ApiModelProperty(value="状态")
    private String status;
	/**
	 * 经度
	 */
	@ApiModelProperty(value="经度")
	private Double lon;
	/**
	 * 纬度
	 */
	@ApiModelProperty(value="纬度")
	private Double lat;
    /**
     * 设备信息
     */
    @ApiModelProperty(value="设备信息")
    private String info;
    /**
     * oem
     */
    @ApiModelProperty(value="oem")
    private String oem;
    /**
     * 类型
     */
    @ApiModelProperty(value="类型")
    private String type;
    /**
     * 是否在线
     */
    @ApiModelProperty(value="是否在线")
    private String online;
    /**
     * 接触点
     */
    @ApiModelProperty(value="接触点")
    private String contactPoint;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value="更新时间")
    private LocalDateTime updateTime;
    /**
     * 删除标记
     */
    @ApiModelProperty(value="删除标记")
    private String delFlag;
    }
